<#include "COMMON_HEAD.ftl">
package ${basePackage}.entity;

import com.cosmetic.core.entity.PageableEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

<#list importNames as i>
import ${i.javaType};
</#list>

<#include "COMMON_MIDDLE.ftl">
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ${entityName} extends PageableEntity {
<#list columns as c>
    /** ${c.columnComment} **/
    private ${c.entityType} ${c.propertyName};
</#list>
}
